package com.pro.service.imple;

import com.pro.mapper.JsMicroStatisticsMapper;
import com.pro.pojo.JsMicrocircle;
import com.pro.service.JsMicroStatisticsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * ClassName:JsMicroStatisticsServiceIMple
 * Package:com.pro.service.imple
 * Description:
 *
 * @Date:2021/12/8 下午 6:40
 * @Author: WYH
 */
@Service
public class JsMicroStatisticsServiceImple  implements JsMicroStatisticsService {

    @Autowired(required = false)
    private JsMicroStatisticsMapper jsMicroStatisticsMapper;

    @Override
    public List<JsMicrocircle> getAllThumbsUpCount() {
        List<JsMicrocircle> allThumbsUpCount = jsMicroStatisticsMapper.getAllThumbsUpCount();
        return allThumbsUpCount;
    }
    @Override
    public List<JsMicrocircle> getAllcollectionCount() {
        List<JsMicrocircle> allcollectionCount = jsMicroStatisticsMapper.getAllcollectionCount();
        return allcollectionCount;
    }

    @Override
    public List<JsMicrocircle> getAllcommentCount() {
        List<JsMicrocircle> allcommentCount = jsMicroStatisticsMapper.getAllcommentCount();
        return allcommentCount;
    }

    @Override
    public List<JsMicrocircle> getAllclickcont() {
        List<JsMicrocircle> allclickcont = jsMicroStatisticsMapper.getAllclickcont();
        return allclickcont;
    }

    @Override
    public List<JsMicrocircle> getAllshare(){
        List<JsMicrocircle> allshare = jsMicroStatisticsMapper.getAllshare();
        return allshare;
    }
}
